package com.neutech.service.impl;

import com.neutech.dao.FoodDAO;
import com.neutech.dao.impl.FoodDAOImpl;
import com.neutech.entity.Business;
import com.neutech.entity.Food;
import com.neutech.service.FoodService;
import com.neutech.vo.ResultVO;

public class FoodServiceImpl implements FoodService {
    private FoodDAO foodDAO = new FoodDAOImpl();
    @Override
    public ResultVO listFoodByBusinessId(Integer id) {
       return ResultVO.success(foodDAO.listFoodByBusinessId(id));
    }
}
